
{extend name='index/index'}



{block name="body"}
<div class="layui-panel">
    <div style="padding: 15px;font-size: 18px;margin-bottom: 20px;text-align: center;background-color: #1e9fff;color: #fff;">欢迎您，{$customer.name}！</div>
</div>
<div class="layui-card padding-20 shadow layui-card-body" >

    <blockquote class="layui-elem-quote" style="font-size: 16px">
        账单查询
    </blockquote>
    {include file='customermain/index_search'}
    <table class="layui-table margin-top-10" >
        {notempty name='list'}
        <thead>
        <tr>
            <th class='text-center '>序号</th>
            <th class='text-center '>日期</th>
            <th class='text-center '>接单人</th>
            <th class='text-center '>类型</th>
            <th class='text-center '>时长（h）</th>
            <th class='text-center '>金额</th>
        </tr>
        </thead>
        {/notempty}
        <tbody>
        {foreach $list as $key => $vo}
        <tr>
            <td class='text-center'>{$vo.sort}</td>
            <td class='text-center'>{$vo.date|default='-'}</td>
            <td class="text-center">{$vo.receptionist|default='-'}</td>
            <td class="text-center">{$vo.activity_gift|default='-'}</td>
            <td class='text-center'>{$vo.play_duration_h}</td>
            <td class="text-center" style="color: #16baaa">￥{$vo.business_amount|default='-'}</td>

        </tr>
        {/foreach}
        </tbody>
    </table>

    {empty name='list'}<span class="notdata">没有记录哦</span>{else}{$pagehtml|raw|default=''}{/empty}

</div>
{/block}
